package cn.wdcode.demo.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 菜单信息表
 * </p>
 *
 * @author wudi
 * @since 2016-12-20
 */
@TableName("sys_menu_info")
public class MenuInfo extends Model<MenuInfo> {

    private static final long serialVersionUID = 1L;

	/**
	 * 菜单ID
	 */
	@TableId(value="MENU_ID")
	private String menuId;
	/**
	 * 菜单父ID
	 */
	@TableField(value="MENU_PAR_ID")
	private String menuParId;
	/**
	 * 菜单名称
	 */
	@TableField(value="MENU_NAM")
	private String menuNam;
	/**
	 * 菜单URL
	 */
	@TableField(value="MENU_URL")
	private String menuUrl;
	/**
	 * 菜单状态
	 */
	@TableField(value="MENU_STATE")
	private String menuState;
	/**
	 * 菜单类型
	 */
	@TableField(value="NODE_TYPE")
	private String nodeType;
	/**
	 * 菜单对应系统ID
	 */
	@TableField(value="SYS_ID")
	private String sysId;
	/**
	 * 创建菜单时间
	 */
	@TableField(value="MENU_DATE")
	private String menuDate;
	/**
	 * 菜单按钮ID
	 */
	@TableField(value="BUTTON_ID")
	private String buttonId;


	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public String getMenuParId() {
		return menuParId;
	}

	public void setMenuParId(String menuParId) {
		this.menuParId = menuParId;
	}

	public String getMenuNam() {
		return menuNam;
	}

	public void setMenuNam(String menuNam) {
		this.menuNam = menuNam;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getMenuState() {
		return menuState;
	}

	public void setMenuState(String menuState) {
		this.menuState = menuState;
	}

	public String getNodeType() {
		return nodeType;
	}

	public void setNodeType(String nodeType) {
		this.nodeType = nodeType;
	}

	public String getSysId() {
		return sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

	public String getMenuDate() {
		return menuDate;
	}

	public void setMenuDate(String menuDate) {
		this.menuDate = menuDate;
	}

	public String getButtonId() {
		return buttonId;
	}

	public void setButtonId(String buttonId) {
		this.buttonId = buttonId;
	}

	@Override
	protected Serializable pkVal() {
		return this.menuId;
	}

}
